* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  overflow: hidden; }

#box {
  position: absolute;
  height: 100%;
  width: 100%; }

#up {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #F5F5F5; }
  #up .header {
    position: relative;
    left: 0;
    height: 40px;
    line-height: 40px;
    box-shadow: 0 2px 5px #888888;
    text-align: center;
    font-weight: bold; }
    #up .header .icon {
      float: right;
      width: 30px;
      margin-top: 5px;
      margin-right: 5px;
      height: 33px;
      z-index: 999; }
  #up #chatList {
    overflow: auto;
    flex: 1;
    transition: all 1s ease; }

#down {
  margin-top: -120px;
  height: 120px;
  background: #FFF;
  border-radius: 3px;
  padding: 5px 8px 0 8px; }
  #down textarea {
    padding: 5px;
    width: 100%;
    height: 80px; }
  #down .sendBtnBox button {
    float: right;
    padding: 2px 7px;
    font-size: 16px; }

#shader {
  position: absolute;
  height: 100%;
  width: 100%; }
  #shader #memberList {
    padding: 5px;
    float: left;
    background: #FFF;
    position: relative;
    height: 100%;
    box-shadow: 0 0 15px #888888;
    width: 260px;
    z-index: 100;
    transition: all 0.5s ease;
    overflow: scroll; }

.u-item {
  padding: 5px; }
  .u-item .icon {
    width: 15px;
    height: 15px; }
  .u-item .name {
    font-weight: bold; }

.layui-m-layer {
  z-index: 99999 !important; }

.chat-item.left {
  margin-top: 25px; }
  .chat-item.left .name {
    margin-left: 5px;
    vertical-align: top; }
  .chat-item.left .content-box {
    margin-top: -38px;
    margin-left: 49px; }
    .chat-item.left .content-box .arror {
      display: inline-block;
      float: left;
      margin-left: 10px;
      margin-top: 20px;
      width: 10px;
      height: 10px;
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      border: 1px solid #888; }
    .chat-item.left .content-box .content {
      padding: 5px;
      position: relative;
      margin-left: -5px;
      display: inline-block;
      margin-top: 10px;
      max-width: 60%;
      border: 1px solid #888;
      border-radius: 3px;
      background: #fff;
      z-index: 10;
      word-break: break-word; }
      .chat-item.left .content-box .content .arror-helper {
        position: absolute;
        display: inline-block;
        width: 3px;
        height: 12px;
        left: -2px;
        top: 8px;
        display: inline-block;
        background: #fff; }

.chat-item.right {
  overflow: auto;
  margin-top: 16px;
  position: relative; }
  .chat-item.right .name {
    display: block;
    text-align: right;
    margin-right: 56px; }
  .chat-item.right .avatar {
    float: right; }
  .chat-item.right .content-box {
    margin-top: -38px; }
    .chat-item.right .content-box .arror {
      display: inline-block;
      position: absolute;
      right: 51px;
      top: 35px;
      width: 10px;
      height: 10px;
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      border: 1px solid #888; }
    .chat-item.right .content-box .content {
      float: right;
      padding: 5px;
      position: relative;
      margin-right: 9px;
      display: inline-block;
      margin-top: 25px;
      max-width: 60%;
      border: 1px solid #888;
      border-radius: 3px;
      background: #fff;
      z-index: 10;
      word-break: break-word; }
      .chat-item.right .content-box .content .arror-helper {
        position: absolute;
        display: inline-block;
        width: 3px;
        height: 12px;
        right: -2px;
        top: 8px;
        display: inline-block;
        background: #fff; }

.name.ban {
  font-style: italic;
  color: #ccc; }

.layui-m-layercont .modify-name {
  width: 100%;
  padding: 10px 0; }
